const Router = require('koa-router')
// prefix在路由地址前缀加上默认地址
const router = new Router({ prefix: '/api/spider' })
const {wbnews_spider,zhnews_spider} = require('../../controller/news_spider.controller')
router.get('/wbnews',wbnews_spider)
router.get('/zhnews',zhnews_spider)
module.exports = router